import request from '../utils/request'


export function getBannerList () {
    return request.get('/banner/list')
}


// * 首页秒杀列表的封装
// * @param {Object} params { count: 1, limitNum: 6 }
// */
export function getSeckillList (params) {
 // get请求的参数
 return request.get('/pro/seckilllist', { params })
}

/**
* 首页分页列表的封装
// * @param {Object} params { count: 1, limitNum: 10 }
*/
export function getProList (params) {
 return request.get('/pro/list', { params })
}